class AddcolumnsToCulturalHeritageIncidences < ActiveRecord::Migration
  def self.up
    add_column :cultural_heritage_incidences, :person1, :integer
    add_column :cultural_heritage_incidences, :person2, :integer
    add_column :cultural_heritage_incidences, :person3, :integer
    add_column :cultural_heritage_incidences, :coment1, :text
    add_column :cultural_heritage_incidences, :coment2, :text
    add_column :cultural_heritage_incidences, :coment3, :text
  end

  def self.down
    remove_column :cultural_heritage_incidences, :person1
    remove_column :cultural_heritage_incidences, :person2
    remove_column :cultural_heritage_incidences, :person3
    remove_column :cultural_heritage_incidences, :coment1
    remove_column :cultural_heritage_incidences, :coment2    
    remove_column :cultural_heritage_incidences, :coment3
  end
end
